<?php
/**
 * Template Name: attendees Template
 * Description: A Page Template that showcases Sticky Posts, Asides, and Blog Posts
 *
 * The showcase template in Twenty Eleven consists of a featured posts section using sticky posts,
 * another recent posts area (with the latest post shown in full and the rest as a list)
 * and a left sidebar holding aside posts.
 *
 * We are creating two queries to fetch the proper posts and a custom widget for the sidebar.
 *
 * @package WordPress
 * @subpackage Twenty_Eleven
 * @since Twenty Eleven 1.0
 */
//Page URL: attendees/category?group=whattodo&catid=5

get_header(); ?>

<?php
    //$terms = get_terms( 'bs_category', 'orderby=name&hide_empty=0&parent=0');
    $terms = get_terms( 'bs_category' ,'orderby=name&hide_empty=0&parent=0');
    $count = count($terms);
    if ( $count > 0 ){
        echo "<ul>";
        foreach ( $terms as $term ) {
            echo "<li>" . $term->name . "</li>";
        }
        echo "</ul>";
    }
?>
<?php get_footer(); ?>